<template>
  <div>
    <player v-show="$route.meta.playShoww"></player>
    <transition name="fade">
      <router-view></router-view>
    </transition>
  </div>
</template>
<script>
import player from "@/components/player.vue";
export default {
  components: {
    player,
  },
  data() {
    return {};
  },
};
</script>
<style lang="scss">
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.fade-enter {
  opacity: 0;
}

.fade-leave {
  opacity: 1;
}

.fade-enter-active {
  transition: opacity 0.5s;
}

.fade-leave-active {
  opacity: 0;
  transition: opacity 0.5s;
}
</style>
